package com.ys.polymorphic;

/**
 * 描述: Tom的子类A
 *
 * @author CodeYang
 * @version 2020/12/16 19:49
 */
public class AtoTom extends Tom {

    @Override
    public void show() {
        System.out.println("AtoTom---name:" + name);
    }
    public void show2(){
        System.out.println("show2---");
    }
}
